﻿using System.Collections.Generic;

namespace Taype.Trading.BTC.MtGoxAPIClient.JSONObjects
{
    /// <summary>
    /// Encapsulates the result of an attempt to redeem an MtGox coupon
    /// </summary>
    public class MtGoxCouponRedemptionResult
    {
        public double amount { get; set; }

        public MtGoxCurrencySymbol currency { get; set; }

        public int transactionReference { get; set; }

        public MtGoxOrderStatus status { get; set; }

        /// <summary>
        /// Parse JSON data returned by redeemCode() method
        /// </summary>
        /// <param name="jsonDataStr"></param>
        /// <returns></returns>
        public static List<MtGoxCouponRedemptionResult> getObjects(string jsonDataStr)
        {
            // TODO: Implement JSON parsing
            return null;
        }
    }
}
